<?php 

$path = isset($_GET['q']) ? $_GET['q'] : '<front>';
$path_alias = drupal_get_path_alias($path);
$link = 'http://jessica.xenyo.net/' . $path_alias;

?>

<!-- Load Facebook SDK for JavaScript -->
	<div id="fb-root"></div>
	<script>(function(d, s, id) {
	  var js, fjs = d.getElementsByTagName(s)[0];
	  if (d.getElementById(id)) return;
	  js = d.createElement(s); js.id = id;
	  js.src = "//connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v2.3";
	  fjs.parentNode.insertBefore(js, fjs);
	}(document, 'script', 'facebook-jssdk'));</script>

	<!-- Your like button code -->
	<div class="fb-like" 
		data-href="<?php print $link;?>" 
		data-layout="button_count"
		data-action="like" 
		data-show-faces="true">
	</div>